<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>权限管理</title>
    <meta name="keywords" content="Fantasy Manager,权限管理" />
    <meta name="description" content="Fantasy Manager,权限管理" />
    <link rel="shortcut icon" href="../../img/favicon.ico" />
    <link href="../../css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet" />
    <link href="../../css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet" />
    <!-- Data Tables -->
    <link href="../../css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet" />
    <link href="../../css/animate.min.css" rel="stylesheet" />
    <link href="../../css/style.min862f.css?v=4.1.0" rel="stylesheet" />
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h3>权限管理</h3>
                </div>
                <div class="ibox-content">
                    <div class="">
                        <a onclick="addPermission();" class="btn btn-primary ">添加权限</a>
                    </div>
                    <table class="table table-striped table-bordered table-hover usersTables">
                        <thead>
                        <tr>
                            <th>权限ID</th>
                            <th>权限</th>
                            <th>角色</th>
                            <th>用户状态</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr th:each="user : ${users}">
                            <td th:text="${user.id}">01</td>
                            <td th:text="${user.name}">颜艺</td>
                            <td th:text="${user.role}">超级管理员</td>
                            <td th:text="${user.status}">激活</td>
                            <td th:text="${user.xx}">程序员</td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../../js/jquery.min.js?v=2.1.4"></script>
<script src="../../js/bootstrap.min.js?v=3.3.6"></script>
<script src="../../js/plugins/jeditable/jquery.jeditable.js"></script>
<script src="../../js/plugins/dataTables/jquery.dataTables.js"></script>
<script src="../../js/plugins/dataTables/dataTables.bootstrap.js"></script>
<script src="../../js/content.min.js?v=1.0.0"></script>
<script>
    $(document).ready(function () {
        $(".usersTables").dataTable();
    });
    function addUser() {

    }
</script>
</body>
</html>
